/* **** */
body {
	font-family: "Open Sans"; font-size: 12px; line-height: 1.3em; background: #fff; margin: 0;
}

body.please-wait, body.please-wait * {
	cursor: wait !important;
}

* {
	outline: none;
	font-family: "Open Sans";
}

/* **** */
.hidden {
	display: none;
}

.float-right {
	float: right;
}

.very-bold {
	font-weight: bold !important;
}

/* **** */
.login-dialog .message.info {
	display: block; background: #f7f7f7; color: #888; padding: 12px 8px; text-align: center;
}

.login-dialog .message.error {
	display: block; background: #fff7f7; color: #a55; padding: 12px 8px; text-align: center; margin-top: 8px;
}

.login-dialog {
    position: fixed; left: 50%; top: 15%; margin-left: -220px; width: 400px; padding: 20px; background: #fff; border: 1px solid #ddd;
    -moz-border-radius: 5px; -webkit-border-radius: 5px; -o-border-radius: 5px; -ms-border-radius: 5px; border-radius: 5px;
    -moz-box-shadow: 0px 0px 18px #ccc; -webkit-box-shadow: 0px 0px 18px #ccc; -o-box-shadow: 0px 0px 18px #ccc; -ms-box-shadow: 0px 0px 18px #ccc; box-shadow: 0px 0px 18px #ccc;
}

.login-dialog .header {
    text-align: center;
}

.login-dialog .header b {
    display: block; margin-top: 5px; font-size: 1.3em; color: #444;
}

.login-dialog form > input[type="text"], .login-dialog form > input[type="password"] {
    display: block; width: 94%; padding: 10px 3%;
    -moz-box-shadow: inset 0px 3px 4px -3px #bbb; -webkit-box-shadow: inset 0px 3px 4px -3px #bbb; -o-box-shadow: inset 0px 3px 4px -3px #bbb; -ms-box-shadow: inset 0px 3px 4px -3px #bbb; box-shadow: inset 0px 3px 4px -3px #bbb;
}

.login-dialog form > input[type="text"] {
	border: 1px solid #bbb;
	-moz-border-radius: 5px 5px 0 0; -webkit-border-radius: 5px 5px 0 0; -o-border-radius: 5px 5px 0 0; -ms-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;
	background: -moz-linear-gradient(#fff,#f7f7f7); background: -webkit-linear-gradient(#fff,#f7f7f7); background: -o-linear-gradient(#fff,#f7f7f7); background: -ms-linear-gradient(#fff,#f7f7f7); background: linear-gradient(#fff,#f7f7f7);
}

.login-dialog form > input[type="password"] {
	border: 1px solid #bbb; border-top: none;
	-moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 5px 5px; -o-border-radius: 0 0 5px 5px; -ms-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px;
	background: -moz-linear-gradient(#fff,#f7f7f7); background: -webkit-linear-gradient(#fff,#f7f7f7); background: -o-linear-gradient(#fff,#f7f7f7); background: -ms-linear-gradient(#fff,#f7f7f7); background: linear-gradient(#fff,#f7f7f7);
}

.login-dialog form > input[type="submit"] {
	margin-top: 10px; color: #222; border: 1px solid #ddd; border-bottom: 2px solid #bbb; text-shadow: 0px 1px 0px #fff; padding: 4px 20px; background: #ddd;
    background: -moz-linear-gradient(#eee, #ddd); background: -webkit-linear-gradient(#eee, #ddd); background: -o-linear-gradient(#eee, #ddd); background: -ms-linear-gradient(#eee, #ddd); background: linear-gradient(#eee, #ddd);
    -moz-border-radius: 4px; -webkit-border-radius: 4px; -o-border-radius: 4px; -ms-border-radius: 4px; border-radius: 4px;
}

.login-dialog form > input[type="submit"]:hover {
    background: #eee; cursor: pointer;
}

.login-dialog form > input[type="submit"]:active {
    -moz-box-shadow: inset 0px 3px 4px -5px #000; -webkit-box-shadow: inset 0px 3px 4px -5px #000; -o-box-shadow: inset 0px 3px 4px -5px #000; -ms-box-shadow: inset 0px 3px 4px -5px #000; box-shadow: inset 0px 3px 4px -5px #000;
}

.loading-indicator {
	display: inline-block; background: url(loading-fff.gif); width: 16px; height: 16px; vertical-align: middle; margin-left: 8px;
}

.login-dialog .field-error {
	display: block; color: red; margin-bottom: 5px;
}

/* **** */
.main-tabs {
    -moz-box-shadow: 0px 0px 6px #aaa; -webkit-box-shadow: 0px 0px 6px #aaa; -o-box-shadow: 0px 0px 6px #aaa; -ms-box-shadow: 0px 0px 6px #aaa; box-shadow: 0px 0px 6px #aaa;
    padding: 16px 32px;
}

.main-tabs > * {
    display: inline-block; vertical-align: middle;
}

.main-tabs > img {
	margin-right: 24px;
}

.main-tabs > a {
	margin-left: 8px; color: #555; font-size: 0.9em; text-transform: uppercase; background: #f7f7f7; padding: 8px 16px 8px 0px; border-bottom: 1px solid #ddd; overflow: hidden; text-decoration: none;
	-moz-border-radius: 3px; -webkit-border-radius: 3px; -o-border-radius: 3px; -ms-border-radius: 3px; border-radius: 3px;
}

.main-tabs > a:hover {
	background: #f0f0f0;
}

.main-tabs > a:hover > i {
	background: #888; color: #fff;
}

.main-tabs > a.active {
	background: #ecb141; color: #fff; border-bottom: 1px solid #cc9121;
}

.main-tabs > a.active > i {
	background: #cc9121; color: #fff; text-shadow: 0px -1px 0px #9c6101;
}

.main-tabs > a > i {
	background: #aaa; color: #fff; padding: 8px 8px 8px 8px; margin-right: 8px; text-shadow: 0px -1px 0px #777;
}

.main-tabs b {
    float: right; margin-top: 8px; font-weight: normal; color: #555; font-size: 1.1em; text-align: right;
}

.main-tabs b em {
    font-style: normal; color: #000;
}

.main-tabs b a {
	display: block; margin-top: 3px; text-decoration: none; color: #888; font-size: 0.8em;
	-moz-border-radius: 3px; -webkit-border-radius: 3px; -o-border-radius: 3px; -ms-border-radius: 3px; border-radius: 3px;
}

.main-tabs b a:hover {
    color: #a33; text-decoration: underline;
}

/* TABLES */
.table {
	display: table; border-collapse: collapse; width: 100%; font-size: 1.1em;
    -moz-box-shadow: 0px 0px 8px #ddd; -webkit-box-shadow: 0px 0px 8px #ddd; -o-box-shadow: 0px 0px 8px #ddd; -ms-box-shadow: 0px 0px 8px #ddd; box-shadow: 0px 0px 8px #ddd;
}

.table > div.header > span {
    color: #fff; border: 1px solid #3b8fc8; padding: 8px 8px; text-shadow: 0px -1px 0px #3b8fc8;
    background: #5bafe8; background: -moz-linear-gradient(#5bafe8,#3b8fc8); background: -webkit-linear-gradient(#5bafe8,#3b8fc8); background: -o-linear-gradient(#5bafe8,#3b8fc8); background: -ms-linear-gradient(#5bafe8,#3b8fc8); background: linear-gradient(#5bafe8,#3b8fc8);
}

.table > div {
    display: table-row;
}

.table > div:nth-child(odd) {
    background: #f0f0f0;
}

.table > div > span {
	display: table-cell; border: 1px solid #ccc; padding: 4px 8px;
}

/* **** */
.table .buttons button {
	color: #222; border: 1px solid #ddd; border-bottom: 2px solid #bbb; text-shadow: 0px 1px 0px #fff; padding: 1px 6px; background: #ddd; font-size: 0.9em;
    background: -moz-linear-gradient(#eee, #ddd); background: -webkit-linear-gradient(#eee, #ddd); background: -o-linear-gradient(#eee, #ddd); background: -ms-linear-gradient(#eee, #ddd); background: linear-gradient(#eee, #ddd);
    -moz-border-radius: 4px; -webkit-border-radius: 4px; -o-border-radius: 4px; -ms-border-radius: 4px; border-radius: 4px;
}

.table .buttons button:hover {
    background: #eee; cursor: pointer;
}

.table .buttons button:active {
    -moz-box-shadow: inset 0px 3px 4px -5px #000; -webkit-box-shadow: inset 0px 3px 4px -5px #000; -o-box-shadow: inset 0px 3px 4px -5px #000; -ms-box-shadow: inset 0px 3px 4px -5px #000; box-shadow: inset 0px 3px 4px -5px #000;
}

.table > div > span.no-data {
    display: block; padding: 16px; color: #555; text-shadow: 0px 1px 0px #fff; border: 1px solid #ccc;
    background: -moz-linear-gradient(#eee,#ddd); background: -webkit-linear-gradient(#eee,#ddd); background: -o-linear-gradient(#eee,#ddd); background: -ms-linear-gradient(#eee,#ddd); background: linear-gradient(#eee,#ddd);
}

.table a {
	color: #555; cursor: pointer;
}

.table a:hover {
	font-weight: bold;
}

/* **** */
.main-content {
	padding: 24px;
}

.main-content h1 {
    margin: 0 0 32px 0; padding: 0; line-height: 1em; font-size: 1.5em; font-weight: normal; color: #444;
}


.main-content h1 i {
    background: #dca131; color: #fff; padding: 22px 5px 8px 8px; text-shadow: 0px -1px 0px #ac7101;
    -moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 5px 5px; -o-border-radius: 0 0 5px 5px; -ms-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px;
}

.main-content h2 {
    font-weight: normal; margin-top: 16px; font-weight: normal; font-size: 1.6em; color: #086;
}

/* **** */
.control-buttons {
	margin-top: 24px; margin-bottom: 12px;
}

.control-buttons > span {
	color: #222; border: 1px solid #ddd; text-shadow: 0px 1px 0px #fff; padding: 5px 12px; background: #ddd;
    background: -moz-linear-gradient(#ddd, #eee); background: -webkit-linear-gradient(#ddd, #eee); background: -o-linear-gradient(#ddd, #eee); background: -ms-linear-gradient(#ddd, #eee); background: linear-gradient(#ddd, #eee);
    -moz-border-radius: 4px; -webkit-border-radius: 4px; -o-border-radius: 4px; -ms-border-radius: 4px; border-radius: 4px;
}

.control-buttons > span em {
	color: #888; font-style: normal;
}

.control-buttons > * {
	display: inline-block; vertical-align: middle; margin-right: 8px;
}

.control-buttons input[type="text"], .control-buttons input[type="password"], .control-buttons select {
    display: inline-block; width: auto; padding: 4px 8px; background: #fff; border: 1px solid #ccc;
	-moz-box-shadow: inset 0px 3px 5px #ddd; -webkit-box-shadow: inset 0px 3px 5px #ddd; -o-box-shadow: inset 0px 3px 5px #ddd; -ms-box-shadow: inset 0px 3px 5px #ddd; box-shadow: inset 0px 3px 5px #ddd;
}

.control-buttons label {
    font-size: 1.1em;
}

.control-buttons button {
	color: #222; border: 1px solid #ddd; border-bottom: 2px solid #bbb; text-shadow: 0px 1px 0px #fff; padding: 4px 12px; background: #ddd;
    background: -moz-linear-gradient(#eee, #ddd); background: -webkit-linear-gradient(#eee, #ddd); background: -o-linear-gradient(#eee, #ddd); background: -ms-linear-gradient(#eee, #ddd); background: linear-gradient(#eee, #ddd);
    -moz-border-radius: 4px; -webkit-border-radius: 4px; -o-border-radius: 4px; -ms-border-radius: 4px; border-radius: 4px;
}

.control-buttons button:hover {
    background: #eee; cursor: pointer;
}

.control-buttons button:active {
    -moz-box-shadow: inset 0px 3px 4px -5px #000; -webkit-box-shadow: inset 0px 3px 4px -5px #000; -o-box-shadow: inset 0px 3px 4px -5px #000; -ms-box-shadow: inset 0px 3px 4px -5px #000; box-shadow: inset 0px 3px 4px -5px #000;
}

.control-buttons .filter {
    margin: 0; font-size: 1em;
}

.control-buttons .filter > label {
    display: block; margin-bottom: 4px;
}

.control-buttons .filter > select {
    width: 140px;
}

.control-buttons .filters {
    display: block; margin-top: 16px; background: #f7f7f7; padding: 12px 10px; border: 1px solid #ccc;
    -moz-border-radius: 4px; -webkit-border-radius: 4px; -o-border-radius: 4px; -ms-border-radius: 4px; border-radius: 4px;
    -moz-box-shadow: inset 0px 4px 6px -8px #000; -webkit-box-shadow: inset 0px 4px 6px -8px #000; -o-box-shadow: inset 0px 4px 6px -8px #000; -ms-box-shadow: inset 0px 4px 6px -8px #000; box-shadow: inset 0px 4px 6px -8px #000;
}

.control-buttons .filter {
    margin: 0 12px 0 0; font-size: 1em; display: inline-block;
}

.control-buttons .filter label i {
    display: none;
}

/* **** */
.form {
    font-size: 1.1em; margin-bottom: 16px;
}

.form fieldset {
    border: 1px solid #ccc; padding: 64px 16px 16px 16px; background: #fff; position: relative;
    -moz-box-shadow: 0px 0px 9px #ddd; -webkit-box-shadow: 0px 0px 9px #ddd; -o-box-shadow: 0px 0px 9px #ddd; -ms-box-shadow: 0px 0px 9px #ddd; box-shadow: 0px 0px 9px #ddd;
}

.form legend {
    font-size: 1.1em; position: absolute; left: 0; top: 0; padding: 12px 2%; width: 96%; border: none; border-bottom: 1px solid #ccc; line-height: 1em; text-shadow: 0px 1px 0px #fff;
    background: -moz-linear-gradient(#eee,#ddd); background: -webkit-linear-gradient(#eee,#ddd); background: -o-linear-gradient(#eee,#ddd); background: -ms-linear-gradient(#eee,#ddd); background: linear-gradient(#eee,#ddd);
}

.form div {
    display: block; margin-bottom: 8px;
}

.form div > label {
    display: inline-block; width: 200px;
}

.form div > input[type="text"], .form div > input[type="password"], .form div > select {
    display: inline-block; width: 250px; padding: 6px 8px; background: #fff; border: 1px solid #ccc;
    -moz-box-shadow: inset 0px 3px 5px #ddd; -webkit-box-shadow: inset 0px 3px 5px #ddd; -o-box-shadow: inset 0px 3px 5px #ddd; -ms-box-shadow: inset 0px 3px 5px #ddd; box-shadow: inset 0px 3px 5px #ddd;
}

.form div.buttons {
    margin-top: 24px; margin-left: 200px;
}

.form .buttons button, .form .buttons input {
	color: #222; border: 1px solid #ddd; border-bottom: 2px solid #bbb; text-shadow: 0px 1px 0px #fff; padding: 4px 12px; background: #ddd; font-size: 1em;
    background: -moz-linear-gradient(#eee, #ddd); background: -webkit-linear-gradient(#eee, #ddd); background: -o-linear-gradient(#eee, #ddd); background: -ms-linear-gradient(#eee, #ddd); background: linear-gradient(#eee, #ddd);
    -moz-border-radius: 4px; -webkit-border-radius: 4px; -o-border-radius: 4px; -ms-border-radius: 4px; border-radius: 4px;
}

.form .buttons button:hover, .form .buttons input:hover {
    background: #eee; cursor: pointer;
}

.form .buttons button:active, .form .buttons input:active {
    -moz-box-shadow: inset 0px 3px 4px -5px #000; -webkit-box-shadow: inset 0px 3px 4px -5px #000; -o-box-shadow: inset 0px 3px 4px -5px #000; -ms-box-shadow: inset 0px 3px 4px -5px #000; box-shadow: inset 0px 3px 4px -5px #000;
}

.form span.field-error {
    display: inline-block; margin-left: 6px; color: #f00;
}

.form .message.error {
    color: #e71050; text-align: left; margin: 16px 0 -8px 200px; padding: 12px 12px; border-top: 1px solid #e71050; background: #fff0f0;
    -moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 5px 5px; -o-border-radius: 0 0 5px 5px; -ms-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px;
}

/* *** */
div.tabs {
    margin-top: 24px; border-bottom: 2px solid #6ab;
}

div.tabs a {
    display: inline-block; padding: 6px 24px; background: #7bc; color: #fff; text-decoration: none;
    -moz-border-radius: 5px 5px 0 0; -webkit-border-radius: 5px 5px 0 0; -o-border-radius: 5px 5px 0 0; -ms-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;
}

div.tabs a:hover {
    background: #6ab;
}

div.tabs a.active {
    background: #cc9121; border-bottom: 2px solid #ac7101; margin-bottom: -2px;
}

/* **** */
div.tabs2 {
	margin: 8px 0; padding: 0; display: block; list-style: none; border-bottom: 1px solid #999; border-left: 1px solid #999; height: 30px; font-size: 1.1em;
    -moz-border-radius: 7px 0 0 0; -webkit-border-radius: 7px 0 0 0; -o-border-radius: 7px 0 0 0; -ms-border-radius: 7px 0 0 0; border-radius: 7px 0 0 0;
}

div.tabs2 a {
	float: left; margin: 0; border: 1px solid #999; border-left: none; overflow: hidden; text-decoration: none; margin-bottom: 0px; line-height: 1em;
    -moz-border-radius: 7px 7px 0 0; -webkit-border-radius: 7px 7px 0 0; -o-border-radius: 7px 7px 0 0; -ms-border-radius: 7px 7px 0 0; border-radius: 7px 7px 0 0;
    background: -moz-linear-gradient(#f7f7f7, #e0e0e0); background: -webkit-linear-gradient(#f7f7f7, #e0e0e0); background: -o-linear-gradient(#f7f7f7, #e0e0e0); background: -ms-linear-gradient(#f7f7f7, #e0e0e0); background: linear-gradient(#f7f7f7, #e0e0e0);
}

div.tabs2 a span {
	color: #000; display: block; font-size: 1em; text-shadow: 0px 1px 0px #fff; padding: 0 20px; border: 1px solid #fff; outline: none; margin-bottom: -1px; line-height: 28px;
}

div.tabs2 a.active, div.tabs2 a.active:hover {
	display: inline-block !important; background: #fff; border-bottom: 1px solid #fff;
    background: -moz-linear-gradient(#f0f0f0, #fff); background: -webkit-linear-gradient(#f0f0f0, #fff); background: -o-linear-gradient(#f0f0f0, #fff); background: -ms-linear-gradient(#f0f0f0, #fff); background: linear-gradient(#f0f0f0, #fff);
}

/* *** */
body.loading > * {
    display: none;
}

body > div.loading {
    display: none;
}

body.loading > div.loading {
    display: block; position: fixed; left: 50%; top: 50%; margin-left: -90px; margin-top: -100px; padding: 16px; text-align: center; width: 150px;
    -moz-box-shadow: 0px 0px 8px #aaa; -webkit-box-shadow: 0px 0px 8px #aaa; -o-box-shadow: 0px 0px 8px #aaa; -ms-box-shadow: 0px 0px 8px #aaa; box-shadow: 0px 0px 8px #aaa;
}

body.loading > div.loading b {
    display: inline-block; vertical-align: middle; font-weight: normal; font-size: 1.3em;
}

body.loading > div.loading img {
    display: inline-block; vertical-align: middle; margin-right: 8px;
}
